<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 移动端滚动条优化 - 隐藏滚动条 */
        ::-webkit-scrollbar {
            display: none;
        }
        
        * {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f5f7fa;
            padding-bottom: 60px;
            padding-top: 50px;
        }
        
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #3498DB;
            padding: 10px 15px;
            color: white;
            z-index: 100;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .header-title {
            font-size: 18px;
            font-weight: 600;
            flex: 1;
            text-align: center;
        }
        
        /* 小程序胶囊按钮 */
        .capsule-btn {
            background: rgba(255,255,255,0.2);
            border-radius: 16px;
            padding: 6px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .capsule-btn .dot {
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
        }
        
        .banner {
            height: 160px;
            background: linear-gradient(45deg, #3498DB, #2ECC71);
            margin: 15px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
        }
        
        .banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        }
        
        .banner-text {
            position: relative;
            z-index: 1;
        }
        
        .function-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            padding: 0 15px;
            margin-bottom: 20px;
        }
        
        .function-item {
            background: white;
            border-radius: 12px;
            padding: 20px 10px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s ease;
        }
        
        .function-item:hover {
            transform: translateY(-2px);
        }
        
        .function-icon {
            width: 40px;
            height: 40px;
            background: #3498DB;
            border-radius: 50%;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
        }
        
        .function-text {
            font-size: 14px;
            color: #2c3e50;
            font-weight: 500;
        }
        
        .section {
            margin-bottom: 20px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px 10px;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .section-more {
            font-size: 14px;
            color: #7f8c8d;
        }
        
        .card-list {
            display: flex;
            gap: 12px;
            padding: 0 15px;
            overflow-x: auto;
        }
        
        .card-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            min-width: 160px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .card-image {
            height: 100px;
            background: linear-gradient(45deg, #3498DB, #2ECC71);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }
        
        .card-content {
            padding: 12px;
        }
        
        .card-title {
            font-size: 14px;
            font-weight: 500;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .card-price {
            font-size: 16px;
            font-weight: 600;
            color: #e74c3c;
        }
        
        .card-desc {
            font-size: 12px;
            color: #7f8c8d;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 0 15px;
        }
        
        .product-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .product-image {
            height: 120px;
            background: linear-gradient(45deg, #3498DB, #2ECC71);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }
        
        .product-content {
            padding: 12px;
        }
        
        .product-title {
            font-size: 14px;
            font-weight: 500;
            color: #2c3e50;
            margin-bottom: 5px;
            line-height: 1.3;
        }
        
        .product-price {
            font-size: 16px;
            font-weight: 600;
            color: #e74c3c;
        }
        
        .tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-top: 1px solid #e8e8e8;
            display: flex;
            height: 60px;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            color: #7f8c8d;
            font-size: 12px;
        }
        
        .tab-item.active {
            color: #3498DB;
        }
        
        .tab-icon {
            font-size: 20px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="header-title">🎣 钓鱼小程序</div>
        <div class="capsule-btn">
            <div class="dot"></div>
            <div class="dot"></div>
            <div class="dot"></div>
        </div>
    </div>
    
    <div class="banner">
        <div class="banner-text">🎣 春季钓鱼季开启<br>新用户专享8折优惠</div>
    </div>
    
    <div class="function-grid">
        <div class="function-item">
            <div class="function-icon">🎫</div>
            <div class="function-text">购买入场券</div>
        </div>
        <div class="function-item">
            <div class="function-icon">⏰</div>
            <div class="function-text">钓鱼计时</div>
        </div>
        <div class="function-item">
            <div class="function-icon">👑</div>
            <div class="function-text">会员中心</div>
        </div>
    </div>
    
    <div class="section">
        <div class="section-header">
            <div class="section-title">热门钓场</div>
            <div class="section-more">更多 ></div>
        </div>
        <div class="card-list">
            <div class="card-item">
                <div class="card-image">[钓场图片A]</div>
                <div class="card-content">
                    <div class="card-title">碧水湾钓场</div>
                    <div class="card-price">¥88/天</div>
                    <div class="card-desc">环境优美·鱼种丰富</div>
                </div>
            </div>
            <div class="card-item">
                <div class="card-image">[钓场图片B]</div>
                <div class="card-content">
                    <div class="card-title">青山湖钓场</div>
                    <div class="card-price">¥68/天</div>
                    <div class="card-desc">新手友好·设施完善</div>
                </div>
            </div>
            <div class="card-item">
                <div class="card-image">[钓场图片C]</div>
                <div class="card-content">
                    <div class="card-title">金鱼湖钓场</div>
                    <div class="card-price">¥128/天</div>
                    <div class="card-desc">高端体验·服务一流</div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="section">
        <div class="section-header">
            <div class="section-title">精选渔具</div>
            <div class="section-more">更多 ></div>
        </div>
        <div class="product-grid">
            <div class="product-item">
                <div class="product-image">[鱼竿图片]</div>
                <div class="product-content">
                    <div class="product-title">碳素超轻鱼竿 3.6米</div>
                    <div class="product-price">¥299</div>
                </div>
            </div>
            <div class="product-item">
                <div class="product-image">[鱼饵图片]</div>
                <div class="product-content">
                    <div class="product-title">野战蓝鲫鱼饵套装</div>
                    <div class="product-price">¥45</div>
                </div>
            </div>
            <div class="product-item">
                <div class="product-image">[钓箱图片]</div>
                <div class="product-content">
                    <div class="product-title">多功能钓鱼箱</div>
                    <div class="product-price">¥188</div>
                </div>
            </div>
            <div class="product-item">
                <div class="product-image">[鱼线图片]</div>
                <div class="product-content">
                    <div class="product-title">进口尼龙鱼线</div>
                    <div class="product-price">¥35</div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="tab-bar">
        <div class="tab-item active">
            <div class="tab-icon">🏠</div>
            <div>首页</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon">🎫</div>
            <div>入场券</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon">🔥</div>
            <div>沸点</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon">👤</div>
            <div>我的</div>
        </div>
    </div>
</body>
</html> 